powered by
test.stat(object)<-value
object
test.stat<--methods
x=new("cpt") # new cpt object test.stat(x)<-"normal" # replaces the current test.stat slot of x with "normal"
Run the code above in your browser using DataLab